package com.foreknow.service;

import com.foreknow.bean.Guestbook;

import java.util.List;

public interface GuestbookService {
    //添加
    public int add(Guestbook guestbook);
    //查询,根据id
    public Guestbook query(Integer id);
    //模糊查询
    public List<Object> mohuquery(String name);
    //删除
    public int delete(Integer id);
    //修改
    public int update(Guestbook guestbook);
    //查询所有
    public List<Object> allquery();
}
